<?php

	$str = '21-3-80';
	if (($timestamp = strtotime($str)) === false) {
		echo "The string ($str) is bogus";
	} else {
		echo "$str == " . date('l dS \o\f F Y h:i:s A', $timestamp);
	}
	
?>